CC = gcc
CFLAGS = -g -O2

all: srtp_server  srtp_client 

srtp_server : srtp_server.o
	$(CC) srtp_server.c $(CFLAGS) -o srtp_server

srtp_client : srtp_client.o
	$(CC) srtp_client.c $(CFLAGS) -o srtp_client

srtp_client.o: srtp_client.c srtp.h
	$(CC) srtp_client.c $(CFLAGS) -c 

srtp_server.o: srtp_server.c srtp.h
	$(CC) srtp_server.c $(CFLAGS) -c 

clean:
	@rm -rf *.o srtp_client srtp_server 
